﻿using System.ComponentModel.DataAnnotations;

namespace GameView.Services.Dtos.RechargesDto
{
    public class RechargeAddDto
    {
        /// <summary>
        /// 项目名称
        /// </summary>
        public string ProjectName { get; set; }

        /// <summary>
        /// 游戏名称
        /// </summary>
        public string GameName { get; set; }

        /// <summary>
        /// 收货人角色,7001:商人；7002:玩家
        /// </summary>
        public int RecivertRole { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string CharacterName { get; set; }

        /// <summary>
        /// 调整类型，4001：增加；4002. 扣除
        /// </summary>
        public int ChangeType { get; set; }

        /// <summary>
        /// 充值金额
        /// </summary>
        [Range(minimum: 1, maximum: 999999999)]
        public int RechargeAmount { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}